//子路由
const homeRouter = require("koa-router")();
let homeController = require("../controller/home");

homeRouter.get("/",homeController.index);
homeRouter.get("/welcome/:name?",homeController.welcome);

module.exports = homeRouter;